<?xml version="1.0" encoding="UTF-8"?>
<<%= params[:name ]%> release='<%= @release %>'>
  <%- @apps.each do |app| %>
    <app version='<%= app.version %>' link='http://<%= Rails.application.config.default_url_options[:host] %><%= app.upgrade_path %>' note='<%= app.note %>' enforce='<%= app.enforce %>'>
      <terminals>
        <%- app.terminal_versions.each do |terminal| %>
          <<%= terminal.name %> version='<%= terminal.version %>' link='http://<%= Rails.application.config.default_url_options[:host] %><%= terminal.file_url %>' />
        <% end %>
      </terminals>
    </app>
  <% end %>
</<%= params[:name]%>>